﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Authentication.Model.ViewModel.Account
{ 
    public class RoleViewModel : GenerateViewMode, IViewModel
    {
        public string RoleIdentifier { get; set; }

        [Required(ErrorMessage = "Role name is required.")]
        [Display(Name = "Role name:")]
        public string RoleName { get; set; }

        [Display(Name = "Description:")]
        public string Description { get; set; }

        [Display(Name = "Active:")]
        public bool Active { get; set; }
    }
}
